package testview.zhen.com.myapplication

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import com.ldr.danmuku.DanMuKuTestActivity
import testview.zhen.com.myapplication.databinding.ActivityMain5Binding

class MainActivity : AppCompatActivity() {
    lateinit var mActivityMain5Binding:ActivityMain5Binding
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        mActivityMain5Binding = ActivityMain5Binding.inflate(layoutInflater).apply {
            setContentView(root)
        }
        mActivityMain5Binding.button1.setOnClickListener {
            startActivity(Intent(this@MainActivity,DanMuKuTestActivity::class.java))
        }
    }
}